package es.ucm.is.www.test;
import es.ucm.is.www.technologies.*;
import es.ucm.is.www.buildings.*;
public class pruebasFalloSublevel {

	
	public static void main(String[] args) {
		Technology t=TechnologyManager.factoryCreateTechnology(TechnologyManager.ID_MILITARY,"hola");
		t.setCash(50);
		t.setFounds(7);
		t.setLevel(1);
		t.setModifier((float)1.2);
		t.setStartTime(1240681200);
		t.setTotal(300);
		Building lab=BuildingManager.factoryMakeBuilding("hola",BuildingManager.ID_LAB);
		
		long pruebas = ((Lab)lab).updateSubLevel(t,1000000);
	}
}
